//
// C++ Interface: thread
//
// Description: 
//
//
// Author:  <muse2k@mail.ru>, (C) 2006
//
// Copyright: See COPYING file that comes with this distribution
//
//

#ifndef __THREAD_H
#define __THREAD_H

#include <qobject.h>
#include <qptrlist.h>
#include <qprocess.h>
class myprocess : public QObject {
Q_OBJECT
   public:
      myprocess();
      ~myprocess();
      void deleteAllProcesses();
      int createProcess(const QString&);
      void deleteProcess();
      void runProcess();
      void stopProcess();

   private:
      QPtrList<QProcess>  list;

   public slots:
      void out();
      void endProcess();
};
#endif